	<!-- Start Logo -->
	<div id="logo">
    <a href="<{$APPLICATION_URL}>/<{$ownerName}>"><img src="<{$ownerWebLogo}>" height="43px" alt="" border="0" /></a></div>
    <div class="logindetails">
                <{if $moduleName == "Product" || $moduleName == "MyAccount"}>	
                <a href="<{$APPLICATION_URL}>/<{$ownerName}>Product/shoppingCart"><span>My Cart</span></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="<{$APPLICATION_URL}>/<{$ownerName}>Product/checkoutShipping"><span>Checkout</span></a>&nbsp;&nbsp;|&nbsp;&nbsp;
                <{/if}>
                <{if $hasLoggedIn == true && $loggedInUserType == ROLE_MEMBER_USER}><a href="<{$APPLICATION_URL}>/<{$ownerName}>MyAccount"><span>My Account</span></a>&nbsp;&nbsp;|&nbsp;&nbsp;><a href="<{$APPLICATION_URL}>/<{$ownerName}>MyAccount/logout"><span>Logout</span></a>       
                <{else}>
                <a href="<{$APPLICATION_URL}>/<{$ownerName}>Login"><span>Login</span></a>
                <{/if}>
    </div>
	<!-- End Logo -->
	
	<!-- Start Search Wrapper -->
  	<div id="search">
	
	
		<!-- Start Search Form -->
		<div id="searchfield">
        <form action="<{$APPLICATION_URL}>/<{$ownerName}>Search" method="post">
        <input name="name" type="text" class="sf" id="searchf"/>
        <input name="module" type="hidden" class="input-text" value="<{$moduleName}>"/>
		</div>
		<!-- End Search Form -->
		
		
		<!-- Start Search Button -->
		<div id="searchbutton">
		<input name="name" src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/graphics/searchsend.png" alt="Search" title="submit" type="image"/>
		</div>
		<!-- End Search Button -->
        </form>
		
		<!-- DO NOT REMOVE THIS LINE!!! --> <br style="clear:both" /><!-- DO NOT REMOVE THIS LINE!!! -->
	</div>
	<!-- End Search Wrapper -->
		
	<!-- DO NOT REMOVE THIS LINE!!! --> <br style="clear:both" /> <!-- DO NOT REMOVE THIS LINE!!! -->
	
	
	<!-- Start Navigation -->
	<div id="navi-wrapper">	
		<div id="navigation">		
			<ul>			
				<li <{if $pageName == "user_home_page" }> class="active"<{/if}>><a class="main" href="<{$APPLICATION_URL}>/<{$ownerName}>">Homepage</a></li>				
				<li><img src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/graphics/naviseparator.gif" alt="" width="40" height="13" /></li>				
                <li <{if $pageName == "user_aboutus_page" }> class="active"<{/if}>><a class="main" href="<{$APPLICATION_URL}>/<{$ownerName}>Index/aboutus">About Us</a></li>
				<li><img src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/graphics/naviseparator.gif" alt="" width="40" height="13" /></li>
                
                <li <{if $pageName == "dynamic_page" }> class="active"<{/if}>><a class="main">Services</a>              	<ul>
				<{foreach item=dynamicPageEntity from=$dynamicPageList}>
				                <li><a class="main" href="<{$APPLICATION_URL}>/<{$ownerName}>Page/Index/id/<{$dynamicPageEntity->id}>"><{$dynamicPageEntity->name}></a></li> 
				<{/foreach}>
                </ul>
                </li>
                <li><img src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/graphics/naviseparator.gif" alt="" width="40" height="13" /></li>
                <{if $isGalleryEnabled}>		
				<li <{if $pageName == "Gallery" }> class="active"<{/if}>><a class="main" href="<{$APPLICATION_URL}>/<{$ownerName}>Gallery">Portfolio</a></li>			
				<li><img src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/graphics/naviseparator.gif" alt="" width="40" height="13" /></li>	
                <{/if}>		
                <{if $isBlogEnabled}>		
				<li <{if $pageName == "blog" }> class="active"<{/if}>><a class="main" href="<{$APPLICATION_URL}>/<{$ownerName}>Blog">Our Blog</a></li>			
				<li><img src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/graphics/naviseparator.gif" alt="" width="40" height="13" /></li>	
                <{/if}>	
                <{if $isNewsEnabled}>		
				<li <{if $pageName == "news" }> class="active"<{/if}>><a class="main" href="<{$APPLICATION_URL}>/<{$ownerName}>News">News</a></li>			
				<li><img src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/graphics/naviseparator.gif" alt="" width="40" height="13" /></li>	
                <{/if}>	
					<{if $isEcommerceEnabled}>
                <li <{if $moduleName == "Product"}> class="active"<{/if}>><a class="main" href="<{$APPLICATION_URL}>/<{$ownerName}>Product"><span>Store</span></a></li>
                <li><img src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/graphics/naviseparator.gif" alt="" width="40" height="13" /></li>
                <{/if}>	    
				<li <{if $pageName == "user_contact_page" }> class="active" <{/if}>><a class="main" href="<{$APPLICATION_URL}>/<{$ownerName}>Index/contactus">Contact Us</a></li>
			</ul>
		</div>
    </div>
    
      <{if $moduleName == "Product"}>
      	  <div id="sub-banner">
            <p>Our Online Store</p>
          </div>
      <{/if}>
      <{if $moduleName == "Gallery"}>
      	  <div id="sub-banner">
            <p>Our Portfolio</p>
          </div>
      <{/if}>
	<!-- End Navigation -->